package com.vcc.data.entity;


import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import com.vcc.data.base.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@EqualsAndHashCode(callSuper = true)
@Data
@Setter
@Getter
@Table(value = "vcc_risk_rule")
public class RiskRule extends BaseEntity implements Serializable {

    @Column(comment = "风控规则名", value = "risk_id")
    private Long riskId;

    /*
     * 风控规则key
     * mcc merchant_name country_code fail refund amount transaction_count
     */
    @Column(comment = "风控规则key", value = "key")
    private String key;

    @Column(comment = "风控规则函数", value = "fun")
    private String fun;

    @Column(comment = "风控规则天数", value = "day")
    private String day;

    @Column(comment = "风控规则值", value = "value")
    private String value;

}
